package jdbc.way3;

import java.util.Properties;

public class Client {
    public static void main(String[] args) throws Exception {
        Class clazz = Class.forName("jdbc.way3.MysqlConnectionFactory");
        ConnectionFactory factory = (ConnectionFactory) clazz.newInstance();
        factory.createConnection(new Properties());
    }
}
